package tgc.edu.zz.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.zz.custom.CommonService;
import tgc.edu.zz.entity.SysRole;
import tgc.edu.zz.repository.SysRoleRepository;


@Service
public class SysRoleService extends CommonService<SysRole, Integer>{

	@Autowired
	private SysRoleRepository dao;
	
	public SysRole findByCode(String string) {
		return dao.findByCode(string);
	}

}
